package com.yoyling.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 控制器
 */
@Controller
public class HelloController {

	@RequestMapping(path = "/hello")
	public String sayHello() {
		System.out.println("Hello SpringMVC");
		return "success";
	}
}
